export const crudOptions = {
options: {
height: '100%',
maxHeight: 'auto'
},
formOptions: {
updateTableDataAfterEdit: true,
defaultSpan: 12
},
pageOptions: {
compact: true // 是否紧凑型页面
},
rowHandle:{
remove:{
show: false
},
edit:{
show: false
},
custom: [
]

},
columns: [
<#list table.fields as field>
    {
    title: '${field.comment}',
    key: '${field.propertyName}',
    form: {
    // disabled: true,
    // rules: [{ required: true, message: '请输入${field.comment}' }]
    component:{
    props:{

    }
    }
    }
    },
</#list>
{
title: '创建时间',
key: 'createTime',
sortable: false,
type: 'datetime',
// search: { disabled: true }, //开启查询
form: { disabled: true }, // 表单配置
disabled: true // 是否隐藏列
},
{
title: '更新时间',
key: 'updateTime',
sortable: false,
type: 'datetime',
// search: { disabled: true }, //开启查询
form: { disabled: true }, // 表单配置
disabled: true // 是否隐藏列
},
]
}
